package com.hanserwei.mydemo.stream;

import java.util.Arrays;

public class BuildStreamTest3 {
    public static void main(String[] args) {
        // 1.数组构建流
        int[] array = {1, 2, 3, 4, 5};
        Arrays.stream(array).forEach(System.out::println);
    }
}
